home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / c / amivogl-1.03.lzh / vogl / src / sunfort / frect.c.Z / frect.c
Encoding:
C/C++ Source or Header  |  1991-06-03  |  731 b   |  56 lines

  1. #include "vogl.h"
  2.  
  3. /*
  4.  * rect_
  5.  */
  6. rect_(x1, y1, x2, y2)
  7.     float     *x1, *y1, *x2, *y2;
  8. {
  9.     rect(*x1, *y1, *x2, *y2);
  10. }
  11.  
  12. /*
  13.  * rects_
  14.  */
  15. rects_(x1, y1, x2, y2)
  16.     short     *x1, *y1, *x2, *y2;
  17. {
  18.     rect((float)*x1, (float)*y1, (float)*x2, (float)*y2);
  19. }
  20.  
  21. /*
  22.  * recti_
  23.  */
  24. recti_(x1, y1, x2, y2)
  25.     int     *x1, *y1, *x2, *y2;
  26. {
  27.     rect((float)*x1, (float)*y1, (float)*x2, (float)*y2);
  28. }
  29.  
  30. /*
  31.  * rectf_
  32.  */
  33. rectf_(x1, y1, x2, y2)
  34.     float     *x1, *y1, *x2, *y2;
  35. {
  36.     rectf(*x1, *y1, *x2, *y2);
  37. }
  38.  
  39. /*
  40.  * rectfs_
  41.  */
  42. rectfs_(x1, y1, x2, y2)
  43.     short     *x1, *y1, *x2, *y2;
  44. {
  45.     rectf((float)*x1, (float)*y1, (float)*x2, (float)*y2);
  46. }
  47.  
  48. /*
  49.  * rectfi_
  50.  */
  51. rectfi_(x1, y1, x2, y2)
  52.     int     *x1, *y1, *x2, *y2;
  53. {
  54.     rectf((float)*x1, (float)*y1, (float)*x2, (float)*y2);
  55. }
  56.